package com.mrdeer.merchant.service;

/**
 * @author: xie jianchu
 * @create_date: 2020/8/12 0012
 */
public interface SmsService {
    /**
     * 发送手机验证码
     *
     * @param phone 手机号
     * @return 验证码对应的key
     */
    String sendMsg(String phone);

    /**
     * 校验验证码
     *
     * @param verifyKey  验证码的key
     * @param verifyCode 验证码
     */
    void checkVerifyCode(String verifyKey, String verifyCode);
}
